package com.net.xpay.core.enums;

import com.net.common.enums.base.StringEnum;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author  on 17/03/2018.
 * 资金类型
 */
@Getter
@AllArgsConstructor
public enum AccountBillType implements StringEnum<AccountBillType> {

    /*
     * 商户用的
     */
    PAY_TRANS_SERVICE_PRICE("pay_trans_service_price", "批量转账服务费"),
    PAY_TRANS_SERVICE_PRICE_REFUND("pay_trans_service_price_refund", "批量转账服务费退款"),
    TAOKE_DETECTION("taoke_detection", "查淘客订单"),
    CHARGE("charge", "充值"),
    CANCEL_CHARGE("cancel_charge", "充值作废"),
    TRANS_BATCH("trans_batch","转账批次余量"),
    USER_WITHDRAW_REFUND("user_withdraw_refund", "商户提现"),
    USER_WITHDRAW_FAIL("user_withdraw_fail", "商户提现退款"),

    //安全付订单
    SAFE_PAY_TRANS_SERVICE_PRICE("safe_pay_trans_service_price", "安全付批量转账服务费"),
    SAFE_PAY_TRANS_SERVICE_PRICE_REFUND("safe_pay_trans_service_price_refund", "安全付批量转账服务费退款"),
    CHECK_CODE("check_code", "安全付批量转账服务费"),
    /*
     * 合伙人用的
     */
    PARTNER_BENEFIT_SETTLE("partner_benefit_settle", "合伙人佣金结算"),
    PARTNER_SAFE_PAY_BENEFIT_SETTLE("partner_safe_pay_benefit_settle", "合伙人安全付佣金结算"),
    PARTNER_WITHDRAW("partner_withdraw", "合伙人提现"),
    PARTNER_WITHDRAW_REFUND("partner_withdraw_refund", "合伙人提现退回")
    ;

    private String value;

    private String desc;
}
